package dynamicFolders;

import java.sql.ResultSet;

public class TestDynamicFolders {

	/**
	 * @author Jeroen Mabille
	 */
	public static void main(String[] args) {
		
		
		View v = new View();
		
		Column c1 = new Column("test1", "test1table");
		c1.setTitle("test van 1");
		c1.setOrderBy();
		c1.addBiggerEqualConstraint(23);
		
		try {
			v.addColumn(c1);
		} catch (Exception e) {
			e.printStackTrace();
		}
		c1 = new Column("test2", "test1table");
		c1.setTitle("test van 2");
		try {
			v.addColumn(c1);
		} catch (Exception e) {
			e.printStackTrace();
		}
		c1 = new Column("test3", "test3table");
		c1.setOrderBy();
		c1.setDesc();
		c1.addEqualConstraint("test");
		
		c1.addSmallerConstraint(20);
		
		try {
			v.addColumn(c1);
		} catch (Exception e) {
			e.printStackTrace();
		}
		
		System.out.println(v.createQuerry());
		//ResultSet rs = v.querryDb();
		
	}

}
